<input class="{foreach $element->getClasses() as $class} {$class}{/foreach}"{foreach $element->getAttributes() as $attribute => $value} {$attribute}="{$value}"{/foreach}/>